<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:c="http://java.sun.com/jstl/core"
                xmlns:s="http://jboss.com/products/seam/taglib"
                template="/templates/basic-html.xhtml">
    
    <ui:define name="title">Diamond Parking -&#160;<ui:insert name="pageTitle"/></ui:define>
    
    <ui:define name="body">
        <div style="width: 800px; margin: 0 auto; background-color: white; border: lightgray solid 1px; border-top: none;">
            <object width="800" height="100">
               <param name="movie" value="/dap/flash/#{currentEmployee.party eq 'admin' ? 'admn' : 'valet'}menu.swf"/>
               <embed src="/dap/flash/#{currentEmployee.party eq 'admin' ? 'admn' : 'valet'}menu.swf" width="800" height="100"/>
            </object>
            
            <div style="padding: 30px; padding-top: 3px;">
                <h:panelGroup id="userMenu" rendered="#{identity.loggedIn}" style="float: right;">
                    Welcome #{currentEmployee.username} |&#160;<s:link action="#{identity.logout}" value="Logout"/>
                </h:panelGroup>
                <div style="clear: both;"/>
                <ui:insert name="pageBody"/>
            </div>
        </div>
    </ui:define>
    
</ui:composition>
